import { ref } from 'vue'
import type { XtxGuessType } from '@/types/components';
//猜你喜欢函数复用
export const useGuessLike = () => {
  //模板引用
  const guessRef = ref<XtxGuessType>()
  //触底加载
  const onScrolltolower = () => {
    guessRef.value?.getGoodsLike()
  }
  return {
    guessRef,
    onScrolltolower
  }

}